import api from "../index";
import urls from "./urls";
// const header = {
//   "Content-Type": "application/json; charset=utf-8",
// };
// const headers = {
//   "Content-Type": "application/x-www-form-urlencoded",
// };
export default {
  // 获取应用首页内容
  getHome(params) {
    return api.post(urls.getHome, params);
  },
  //获取应用banner位内容
  getBanner(params) {
    return api.post(urls.getBanner, params);
  },
  // 获取应用首页最新专辑下内容列表-pc
  getRecommendAlbum(params) {
    return api.post(urls.getRecommendAlbum, params);
  },
  // 获取该渠道最新版本信息
  appVersionByChannel(params) {
    return api.post(urls.appVersionByChannel, params);
  },
};
